Skip to content

Release 0.6.0 - #382

Merged
zihuaihuai merged 1 commit into
masterfrom
release/0.6.0
May 4, 2026
Merged

zihuaihuai merged 1 commit into
masterfrom
release/0.6.0

Conversation

@zihuaihuai

Copy link
Copy Markdown
Collaborator

Summary

Bumps brainstat.__version__ to 0.6.0 and adds a project CHANGELOG.md documenting the work folded in across #378 / #379 / #380 / #381.

This is a minor release — see the Backwards-incompatible changes section of the changelog for the user-visible behaviour shifts (BigBrain histology profile inversion, SLM input coercion, numpy/pandas pins).

What landed (full detail in CHANGELOG.md)

Statistics-core bug fixes

Public-API contract fixes (#342)

  • SLM.__init__ coerces contrast to numeric; rejects object/categorical with a clear TypeError
  • SLM.__init__ coerces integer 0/1 mask to bool
  • surf=None + correction='rft' error now points users at correction='fdr'

Behaviour change (#274)

  • read_histology_profile now inverts BigBrain intensities by default (invert=True); invert=False recovers prior behaviour. MPC/gradient outputs are unaffected.

New features

Maintenance

Tests / coverage

  • 276 tests pass, 1 platform-skipped on the local sweep.
  • 4 new volumetric tests cover the contrast / mask / FDR paths from Volumetric mixed effects #342.
  • Total coverage: 62% (a couple of context modules and the data-generator scripts pull the average down; the actively maintained statistics core sits between 64% and 95%).

How to publish

Once this PR merges:

  1. Tag v0.6.0 on master to trigger tagged_release.yml (PyPI + MATLAB artifact + GitHub Release).
  2. Verify the release notes on GitHub mirror the changelog entry.

Out of scope (still tracked)

Bump brainstat.__version__ to 0.6.0 and add a project CHANGELOG.md
covering the work landed in #378 / #379 / #380 / #381.

This release re-greens CI, fixes a cluster of correctness bugs in the
statistics core, adds the FreeSurfer Destrieux atlas to
fetch_parcellation, hardens the Neurosynth fetcher, and adopts the
literature-aligned (high = darker) default for BigBrain histology
profiles. Backwards-incompatible changes are called out at the top of
CHANGELOG.md.
@github-actions github-actions Bot added the Python On the Python implementation label May 4, 2026
@zihuaihuai
zihuaihuai merged commit 310079f into master May 4, 2026
7 checks passed
@zihuaihuai
zihuaihuai deleted the release/0.6.0 branch May 4, 2026 18:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Python On the Python implementation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant